package com.bwie.controller;

import com.bwie.service.TbMatterService;
import com.bwie.utils.R;
import com.bwie.vo.PageInfoVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * description:
 *
 * @Author zhaohaoyang
 * @Create 2025/4/24 8:45
 * @Version 1.0
 */
@RestController
@RequestMapping("/matter/index")
public class IndexController {

    @Autowired
    TbMatterService matterService;
    @PostMapping("/getMatterList")
    public R getMatterList(@RequestBody PageInfoVo pageInfoVo){
        return matterService.getMatterList(pageInfoVo);
    }
}
